<?php
App::import('Vendor', 'phpqrcode'.DS.'qrlib');

// Component defined in 'QrCode' plugin
class QrGeneratorComponent extends Component {

    public function test() {
        return QRcode::png('PHP QR Code :)');
    }
}